package com.mingke.chat.config;

/** Redis相关键的枚举*/
public enum RedisKeyEnum {
    /** Hash*/
    NameOfUser("user-nickname"),
    MessageOfUser("user-message"),
    UserONLine("user-online");
    private String keyName;

    public String getKeyName() {
        return keyName;
    }

    public void setKeyName(String keyName) {
        this.keyName = keyName;
    }

    RedisKeyEnum(String keyName) {
        this.keyName = keyName;
    }
}
